home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / machserver / 1.098 / fsrmt / fsrmtMigrate.h < prev    next >
C/C++ Source or Header  |  1990-10-10  |  1KB  |  45 lines

  1. /*
  2.  * fsrmtMigrate.h --
  3.  *
  4.  *    Declarations for RMT file migration routines.
  5.  *
  6.  * Copyright 1987, 1988 Regents of the University of California
  7.  * All rights reserved.
  8.  * Permission to use, copy, modify, and distribute this
  9.  * software and its documentation for any purpose and without
  10.  * fee is hereby granted, provided that the above copyright
  11.  * notice appear in all copies.  The University of California
  12.  * makes no representations about the suitability of this
  13.  * software for any purpose.  It is provided "as is" without
  14.  * express or implied warranty.
  15.  *
  16.  * $Header: /sprite/src/kernel/fsrmt/RCS/fsrmtMigrate.h,v 9.1 90/10/08 15:06:39 mendel Exp $ SPRITE (Berkeley)
  17.  */
  18.  
  19. #ifndef _FSRMTMIGRATE
  20. #define _FSRMTMIGRATE
  21.  
  22. #include <fsNameOps.h>
  23. #include <fsrmtNameOpsInt.h>
  24. extern Boolean fsio_MigDebug;    /* enable migration debugging statements? */
  25.  
  26. /*
  27.  * The following record defines what parameters the I/O server returns
  28.  * after being told about a migration.
  29.  */
  30. typedef struct FsrmtMigrateReply {
  31.     int flags;        /* New stream flags, the FS_RMT_SHARED bit is modified*/
  32.     int offset;        /* New stream offset */
  33. } FsrmtMigrateReply;
  34.  
  35. /*
  36.  * This structure is for byte-swapping the rpc parameters correctly.
  37.  */
  38. typedef struct  FsrmtMigParam {
  39.     int            dataSize;
  40.     FsrmtUnionData        data;
  41.     FsrmtMigrateReply    migReply;
  42. } FsrmtMigParam;
  43.  
  44. #endif _FSRMTMIGRATE
  45.